package org.jeecg.modules.middleware.api;
import org.jeecg.modules.middleware.api.fallback.IotMiddlewareHelloFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "jeecg-iot-middleware", fallbackFactory = IotMiddlewareHelloFallback.class)
public interface IotMiddlewareHelloApi {

    /**
     * iot_middleware hello 微服务接口
     * @param
     * @return
     */
    @GetMapping(value = "/iot/middleware/hello")
    String callHello();
}
